﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;

namespace FizzGame
{
    class Player : Object
    {
        public List<BitmapImage> RunAnime = new List<BitmapImage>();
        public List<BitmapImage> BackAnime = new List<BitmapImage>();

        public System.Windows.Vector V = new System.Windows.Vector(0,0);

        public Player(int X,int Y,int Width,int Height)
        {
            Pos.X = X;
            Pos.Y = Y;
            size.Width = Width;
            size.Height = Height;
            Rect = new System.Windows.Shapes.Rectangle();
            Rect.Width = Width;
            Rect.Height = Height;
        }

        public void Move()
        {
            Pos.X += (int)V.X;
            Pos.Y += (int)V.Y;
        }

    }
}
